<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Administration/main.master"
    CodeFile="Categories.aspx.cs" Inherits="Tathata.Web.Administration.Administration_Categories" %>

<asp:Content ID="c1" ContentPlaceHolderID="cph1" runat="Server">
    <h4>
        Categories</h4>
    <table class="adminContent">
        <tr>
            <td colspan="2">
                <asp:Button runat="server" Text="Export to XML" CssClass="adminButton" ID="btnExportXML"
                    OnClick="btnExportXML_Click" ValidationGroup="ExportXML"></asp:Button>
            </td>
        </tr>
    </table>
    <br />
    <br />
    <asp:TreeView ID="CategoryTreeView" runat="server" AutoGenerateDataBindings="False"
        ExpandDepth="0" DataSourceID="ds">
        <DataBindings>
            <asp:TreeNodeBinding TextField="title" NavigateUrlField="url" />
        </DataBindings>
    </asp:TreeView>
    <asp:XmlDataSource ID="ds" EnableCaching="false" runat="server" XPath="/*/*"></asp:XmlDataSource>
</asp:Content>
